package com.headmaster.wap.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.headmaster.wap.dao.IVerifyCodeMapper;
import com.headmaster.wap.domain.MesgInfo;
import com.headmaster.wap.service.IVerifyCodeService;

@Service
public class VerifyCodeService implements IVerifyCodeService {

	@Autowired
	private IVerifyCodeMapper verifyCodeMapper;
	
	public List<MesgInfo> queryVerifyCode(String phoneNumber) {
		return verifyCodeMapper.queryVerifyCodeByPhone(phoneNumber);
	}

}
